import { post } from '@/utils/request'

// 白名单(注册)列表
export const apiWhiteListList = (params?: any) => post('/uav/whiteUav/list', params)
// 白名单(注册)新增
export const apiWhiteListCreate = (params?: any) => post('/uav/whiteUav/add', params)
// 白名单(注册)编辑
export const apiWhiteListUpdate = (params?: any) => post('/uav/whiteUav/edit', params)
// 白名单(注册)删除
export const apiWhiteListDelete = (params?: any) => post('/uav/whiteUav/del', params)
// 白名单(注册)详情
export const apiWhiteListDetail = (params?: any) => post('/uav/whiteUav/info', params)

// 飞手报备列表
export const apiReportList = (params?: any) => post('/uav/flyReport/list', params)
// 飞手报备新增
export const apiReportCreate = (params?: any) => post('/uav/uav/flyReport/add', params)
// 飞手报备编辑
export const apiReportUpdate = (params?: any) => post('/uav/flyReport/edit', params)
// 飞手报备删除
export const apiReportDelete = (params?: any) => post('/uav/flyReport/del', params)
// 飞手报备详情
export const apiReportDetail = (params?: any) => post('/uav/flyReport/info', params)

// 获取文件
export const apiFild = (params?: any) => post('/publics/file/FileGet', params)
// 文件上传oss
export const apiUploadOss = (params?: any) => post('/publics/file/upload-file', params)
// 获取文件上传地址
export const apiUploadAddress = (params?: any) => post('/publics/file/upload-url/create', params)
// 获取系统配置
export const apiSystemConfiguration = (params?: any) => post('/publics/file/config', params)

// 获取站点配置
export const apiSystem = (params?: any) => post('/uav/site/info', params)
// 新增站点配置
export const apiSystemAdd = (params?: any) => post('/uav/site/add', params)
// 更新站点配置
export const apiSystemUpdata = (params?: any) => post('/uav/site/edit', params)

// 无人机种类列表
export const apidroneModelList = (params?: any) => post('/uav/countReport', params)
// 无人机种类新增
export const apidroneModelCreate = (params?: any) => post('xxx', params)

// 无人机运营商信息列表
export const apispectOperatorList = (params?: any) => post('/uav/uavOperate/list', params)
// 无人机运营商信息新增
export const apispectOperatorCreate = (params?: any) => post('/uav/uavOperate/add', params)
// 无人机运营商信息编辑
export const apispectOperatorUpdate = (params?: any) => post('/uav/uavOperate/edit', params)
// 无人机运营商信息删除
export const apispectOperatorDelete = (params?: any) => post('/uav/whiteUav/del', params)
// 无人机运营商信息详情
export const apispectOperatorDetail = (params?: any) => post('/uav/uavOperate/info', params)
